package com.zhuifeng.orders.domain;

import com.zhuifeng.common.core.annotation.Excel;

import java.math.BigDecimal;

/**
 * @description:
 * @author: 周国强
 * @time: 2022/8/20 10:48
 */
public class SubMitOrders {

    /** 下单人id */
    @Excel(name = "下单人id")
    private String userId;

    /** 订单总价 */
    @Excel(name = "订单总价")
    private BigDecimal ordersPriceSum;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal ordersPayPrice;


    /** 收货地址id */
    @Excel(name = "收货地址id")
    private String siteId;



    /** 支付方式 (1=&gt;未支付，2=》正在支付，3，支付宝，4，微信，5，银行卡) */
    @Excel(name = "支付方式 (1=&gt;未支付，2=》正在支付，3，支付宝，4，微信，5，银行卡)")
    private Integer ordersPayWay;

    /** 商品id */
    @Excel(name = "商品id")
    private String productId;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal ordersDetailsProductPrice;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer ordersDetailsProductNum;

    @Excel(name = "令牌")
    private String ordersToken;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getOrdersPriceSum() {
        return ordersPriceSum;
    }

    public void setOrdersPriceSum(BigDecimal ordersPriceSum) {
        this.ordersPriceSum = ordersPriceSum;
    }

    public BigDecimal getOrdersPayPrice() {
        return ordersPayPrice;
    }

    public void setOrdersPayPrice(BigDecimal ordersPayPrice) {
        this.ordersPayPrice = ordersPayPrice;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public Integer getOrdersPayWay() {
        return ordersPayWay;
    }

    public void setOrdersPayWay(Integer ordersPayWay) {
        this.ordersPayWay = ordersPayWay;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public BigDecimal getOrdersDetailsProductPrice() {
        return ordersDetailsProductPrice;
    }

    public void setOrdersDetailsProductPrice(BigDecimal ordersDetailsProductPrice) {
        this.ordersDetailsProductPrice = ordersDetailsProductPrice;
    }

    public Integer getOrdersDetailsProductNum() {
        return ordersDetailsProductNum;
    }

    public void setOrdersDetailsProductNum(Integer ordersDetailsProductNum) {
        this.ordersDetailsProductNum = ordersDetailsProductNum;
    }

    public String getOrdersToken() {
        return ordersToken;
    }

    public void setOrdersToken(String ordersToken) {
        this.ordersToken = ordersToken;
    }

    public SubMitOrders(String userId, BigDecimal ordersPriceSum, BigDecimal ordersPayPrice, String siteId, Integer ordersPayWay, String productId, BigDecimal ordersDetailsProductPrice, Integer ordersDetailsProductNum, String ordersToken) {
        this.userId = userId;
        this.ordersPriceSum = ordersPriceSum;
        this.ordersPayPrice = ordersPayPrice;
        this.siteId = siteId;
        this.ordersPayWay = ordersPayWay;
        this.productId = productId;
        this.ordersDetailsProductPrice = ordersDetailsProductPrice;
        this.ordersDetailsProductNum = ordersDetailsProductNum;
        this.ordersToken = ordersToken;
    }

    public SubMitOrders() {
    }
}
